// 基于template/src/views/{{appModules}}/{{pages@DEGRIDEXPVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IGridExpViewModel } from "@/core/interface/view/model";

function getModel(): IGridExpViewModel {
  return {
    caption: "实体表格导航视图",
    title: "实体表格导航视图",
    capPSLanguageRes: "MENUITEM.CAPTION.ENTITYGRIDNAVIGATIONVIEW",
    titlePSLanguageRes: "",
    showDataInfoBar: true,
    codeName: 'IBIZOrderGridExpView',
    ctrls: [
      {
        name: 'gridexpbar',
        codeName: 'GridExpViewgridexpbar',
        controlType: 'GRIDEXPBAR'
      }
    ],
    cssName: "",
    name: "IBIZOrderGridExpView",
    viewType: "DEGRIDEXPVIEW",
    viewStyle: "DEFAULT",
    showCaption: false,
    isLoadDefault: true,
    entityCodeName: "IBIZOrder",
    keyPSAppDEField: "IBIZOrderId",
    majorPSAppDEField: "IBIZOrderName",
    enableQuickSearch: true,
    expandSearchForm:false,
    enableQuickGroup: true,
    quickGroupCodeList: "Sample__OrderType",
    newData: {
      deCodeName: 'ibizorder',
      newDataViewName: 'IBIZOrderEditView',
      entityName: 'IBIZOrder'
    },
    openData: {
      deCodeName: 'ibizorder',
      openDataViewName: 'IBIZOrderEditView',
    },
    useDefaultLayout: true,
    quickSearchPlaceholder: "订单名称,",
    sideBarLayout: 'TOP',
		expBarName: 'GridExpViewgridexpbar',
		expBarWidth: 600,
		expBarHeight: 0
    }
}

//  视图模型
export const model = getModel();